#ifndef EXCEPTION_HPP
#define EXCEPTION_HPP

#include <iostream>
using namespace std;

class Exception
{
	public:
		Exception(const string&);
		virtual ~Exception();

		virtual void act() = 0;
		void print() const;
	
	protected:
		string msg;	
};

#endif
